﻿
using Framework.Utility;
using Framework.Utility.Excel;

namespace YouShuCode.Models
{
    public class YoushuResponseDto : APIResponseDTO
    {
        [ExportColumn(Title = "直销员编号")]
        public string Column1_DirectSellerID { get; set; }

        [ExportColumn(Title = "姓名")]
        public string Column2_Name { get; set; }


        [ExportColumn(Title = "EntID")]
        public string EntID { get; set; }

        [ExportColumn(Title = "EntName")]
        public string EntName { get; set; }
        [ExportColumn(Title = "RegNo")]
        public string RegNo { get; set; }
        [ExportColumn(Title = "CreditCode")]
        public string CreditCode { get; set; }
        [ExportColumn(Title = "EntType")]
        public string EntType { get; set; }
        [ExportColumn(Title = "FrName")]
        public string FrName { get; set; }
        [ExportColumn(Title = "OpenFrom")]
        public string OpenFrom { get; set; }
        [ExportColumn(Title = "OpenTo")]
        public string OpenTo { get; set; }
        [ExportColumn(Title = "EntStatus")]
        public string EntStatus { get; set; }
        [ExportColumn(Title = "Address")]
        public string Address { get; set; }
        [ExportColumn(Title = "Province")]
        public string Province { get; set; }
        [ExportColumn(Title = "City")]
        public string City { get; set; }
        [ExportColumn(Title = "County")]
        public string County { get; set; }
        [ExportColumn(Title = "AreaCode")]
        public string AreaCode { get; set; }
        [ExportColumn(Title = "OperateScope")]
        public string OperateScope { get; set; }
        [ExportColumn(Title = "AncheDate")]
        public string AncheDate { get; set; }
        [ExportColumn(Title = "BDLID")]
        public string BDLID { get; set; }
        [ExportColumn(Title = "StatusID")]
        public RecordStatus StatusID { get; set; }
        public string InsertDateTime { get; set; }
        public string UpdateDateTime { get; set; }


    }
    public class ErrorResponseDTO
    {
        [ExportColumn(Title = "EntInfo")]
        public string EntInfo { get; set; }
        [ExportColumn(Title = "UserName")]
        public string UserName { get; set; }

        [ExportColumn(Title = "IsSuccess")]
        public bool IsSuccess { get; set; }
        [ExportColumn(Title = "ErrorCode")]
        public ErrorCode ErrorCode { get; set; }
        [ExportColumn(Title = "Message")]
        public string Message { get; set; }

    }
}
